package org.easymis.entitys.mybatis.dto;
import java.io.Serializable;
import java.util.Date;

import org.easymis.commons.generator.annotation.GenField;
import org.easymis.commons.generator.annotation.GenModel;
import org.easymis.commons.generator.annotation.GenTable; 
 
  
  
 @GenTable(name="scm_product") 
@GenModel(packageName="org.easymis.entitys.mybatis",modelName="ScmProduct")  
public class ScmProduct implements Serializable {
	@GenField(labelname = "商品ID", column = "product_id", id = true, length = 20, isnull = false)
	private String productId;
	@GenField(labelname = "", column = "org_id", length = 20, isnull = true)
	private String orgId;
	@GenField(labelname = "产品编号", column = "product_brand_model_id", length = 45, isnull = true)
	private String productBrandModelId;
	@GenField(labelname = "商品名称", column = "product_name", length = 200, isnull = true)
	private String productName;
	@GenField(labelname = "套红提示", column = "product_tips", length = 255, isnull = true)
	private String productTips;
	@GenField(labelname = "商品广告词", column = "product_adword", length = 45, isnull = true)
	private String productAdword;
	@GenField(labelname = "商户商品条形码", column = "merchant_product_bar_code", length = 45, isnull = true)
	private String merchantProductBarCode;
	@GenField(labelname = "商品分类编号", column = "category_id", length = 45, isnull = true)
	private String categoryId;
	@GenField(labelname = "是否需要配送", column = "is_delivery", isnull = true)
	private Integer isDelivery;
	@GenField(labelname = "商户编号/组织编码", column = "merchant_id", length = 45, isnull = true)
	private String merchantId;
	@GenField(labelname = "店铺编号", column = "store_id", length = 45, isnull = true)
	private String storeId;
	@GenField(labelname = "商品市场价格", column = "origin_price", isnull = true)
	private Float originPrice;
	@GenField(labelname = "商品商城价格|零售价", column = "sale_price", isnull = true)
	private Float salePrice;
	@GenField(labelname = "批发价", column = "wholesale_price", isnull = true)
	private Float wholesalePrice;
	@GenField(labelname = "vip价格", column = "vip_price", isnull = true)
	private Float vipPrice;
	@GenField(labelname = "折扣率一", column = "discount_rate1", isnull = true)
	private Float discountRate1;
	@GenField(labelname = "折扣率二", column = "discount_rate2", isnull = true)
	private Float discountRate2;
	@GenField(labelname = "预计采购价", column = "purchase_price", isnull = true)
	private Float purchasePrice;
	@GenField(labelname = "支付参数", column = "product_payment", length = 45, isnull = true)
	private String productPayment;
	@GenField(labelname = "商户商品编码", column = "merchant_product_id", length = 45, isnull = true)
	private String merchantProductId;
	@GenField(labelname = "商品品牌", column = "brand_id", length = 45, isnull = true)
	private String brandId;
	@GenField(labelname = "商品类型0实物商品1虚拟商品", column = "product_type", isnull = true)
	private Integer productType;
	@GenField(labelname = "商城类型 0=个人商城 1=企业商城", column = "market_type", isnull = true)
	private Integer marketType;
	@GenField(labelname = "库存预警", column = "inventory_warn", isnull = true)
	private Integer inventoryWarn;
	@GenField(labelname = "最低库存", column = "min_inventory", isnull = true)
	private Integer minInventory;
	@GenField(labelname = "最高库存", column = "max_Inventory", isnull = true)
	private Integer maxInventory;
	@GenField(labelname = "PRICE_TYPE", column = "price_type", length = 45, isnull = true)
	private String priceType;
	@GenField(labelname = "计价方式,PAYMODE为1时表示一口价，为2时表示按重量计价，UNITPRICE为单价，WEIGHT为重量，SURCHARGE为附加费", column = "price_manner", length = 45, isnull = true)
	private String priceManner;
	@GenField(labelname = "频道标识", column = "channel_type", length = 45, isnull = true)
	private String channelType;
	@GenField(labelname = "重量kg", column = "weight", length = 45, isnull = true)
	private String weight;
	@GenField(labelname = "体积m3", column = "volume", length = 45, isnull = true)
	private String volume;
	@GenField(labelname = "最小起购数量", column = "min_buy_quantity", isnull = true)
	private Integer minBuyQuantity;
	@GenField(labelname = "库存扣减方式,0=下订单,1=支付后", column = "strock_deduction_type", isnull = true)
	private Integer strockDeductionType;
	@GenField(labelname = "商品市场价格2", column = "origin_price2", isnull = true)
	private Float originPrice2;
	@GenField(labelname = "商品关键词", column = "keywords", length = 45, isnull = true)
	private String keywords;
	@GenField(labelname = "商品状态,01:未提交,02:审核中,03:已删除,04:待上架,05:已上架", column = "product_status", length = 255, isnull = true)
	private String productStatus;
	@GenField(labelname = "商品创建时间", column = "create_time", isnull = true)
	private Date createTime;
	@GenField(labelname = "商品更新时间", column = "update_time", isnull = true)
	private Date updateTime;
	@GenField(labelname = "商品上架时间", column = "putaway_time", isnull = true)
	private Date putawayTime;
	@GenField(labelname = "商品下架时间", column = "out_of_stock_time", isnull = true)
	private Date outOfStockTime;
	@GenField(labelname = "商品拒绝原因", column = "outof_reson", length = 255, isnull = true)
	private String outofReson;
	@GenField(labelname = "商品下架操作人", column = "operator_id", isnull = true)
	private Integer operatorId;
	@GenField(labelname = "拒绝标识，0：否1：是 默认为：0", column = "is_reject", isnull = true)
	private Integer isReject;
	@GenField(labelname = "商品描述", column = "depict", length = 65535, isnull = true)
	private String depict;
	@GenField(labelname = "规格型号", column = "specs", length = 255, isnull = true)
	private String specs;
	@GenField(labelname = "计量单位", column = "unit_id", length = 20, isnull = true)
	private String unitId;
	@GenField(labelname = "首选仓库", column = "storage_id", length = 20, isnull = true)
	private String storageId;

	private String brandName;
	private String categoryName;
	private String unitName;

	public String getProductId() {
		return productId;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getProductBrandModelId() {
		return productBrandModelId;
	}

	public void setProductBrandModelId(String productBrandModelId) {
		this.productBrandModelId = productBrandModelId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductTips() {
		return productTips;
	}

	public void setProductTips(String productTips) {
		this.productTips = productTips;
	}

	public String getProductAdword() {
		return productAdword;
	}

	public void setProductAdword(String productAdword) {
		this.productAdword = productAdword;
	}

	public String getMerchantProductBarCode() {
		return merchantProductBarCode;
	}

	public void setMerchantProductBarCode(String merchantProductBarCode) {
		this.merchantProductBarCode = merchantProductBarCode;
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public Integer getIsDelivery() {
		return isDelivery;
	}

	public void setIsDelivery(Integer isDelivery) {
		this.isDelivery = isDelivery;
	}

	public String getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}

	public String getStoreId() {
		return storeId;
	}

	public void setStoreId(String storeId) {
		this.storeId = storeId;
	}

	public Float getOriginPrice() {
		return originPrice;
	}

	public void setOriginPrice(Float originPrice) {
		this.originPrice = originPrice;
	}

	public Float getSalePrice() {
		return salePrice;
	}

	public void setSalePrice(Float salePrice) {
		this.salePrice = salePrice;
	}

	public Float getWholesalePrice() {
		return wholesalePrice;
	}

	public void setWholesalePrice(Float wholesalePrice) {
		this.wholesalePrice = wholesalePrice;
	}

	public Float getVipPrice() {
		return vipPrice;
	}

	public void setVipPrice(Float vipPrice) {
		this.vipPrice = vipPrice;
	}

	public Float getDiscountRate1() {
		return discountRate1;
	}

	public void setDiscountRate1(Float discountRate1) {
		this.discountRate1 = discountRate1;
	}

	public Float getDiscountRate2() {
		return discountRate2;
	}

	public void setDiscountRate2(Float discountRate2) {
		this.discountRate2 = discountRate2;
	}

	public Float getPurchasePrice() {
		return purchasePrice;
	}

	public void setPurchasePrice(Float purchasePrice) {
		this.purchasePrice = purchasePrice;
	}

	public String getProductPayment() {
		return productPayment;
	}

	public void setProductPayment(String productPayment) {
		this.productPayment = productPayment;
	}

	public String getMerchantProductId() {
		return merchantProductId;
	}

	public void setMerchantProductId(String merchantProductId) {
		this.merchantProductId = merchantProductId;
	}

	public String getBrandId() {
		return brandId;
	}

	public void setBrandId(String brandId) {
		this.brandId = brandId;
	}

	public Integer getProductType() {
		return productType;
	}

	public void setProductType(Integer productType) {
		this.productType = productType;
	}

	public Integer getMarketType() {
		return marketType;
	}

	public void setMarketType(Integer marketType) {
		this.marketType = marketType;
	}

	public Integer getInventoryWarn() {
		return inventoryWarn;
	}

	public void setInventoryWarn(Integer inventoryWarn) {
		this.inventoryWarn = inventoryWarn;
	}

	public Integer getMinInventory() {
		return minInventory;
	}

	public void setMinInventory(Integer minInventory) {
		this.minInventory = minInventory;
	}

	public Integer getMaxInventory() {
		return maxInventory;
	}

	public void setMaxInventory(Integer maxInventory) {
		this.maxInventory = maxInventory;
	}

	public String getPriceType() {
		return priceType;
	}

	public void setPriceType(String priceType) {
		this.priceType = priceType;
	}

	public String getPriceManner() {
		return priceManner;
	}

	public void setPriceManner(String priceManner) {
		this.priceManner = priceManner;
	}

	public String getChannelType() {
		return channelType;
	}

	public void setChannelType(String channelType) {
		this.channelType = channelType;
	}

	public String getWeight() {
		return weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}

	public String getVolume() {
		return volume;
	}

	public void setVolume(String volume) {
		this.volume = volume;
	}

	public Integer getMinBuyQuantity() {
		return minBuyQuantity;
	}

	public void setMinBuyQuantity(Integer minBuyQuantity) {
		this.minBuyQuantity = minBuyQuantity;
	}

	public Integer getStrockDeductionType() {
		return strockDeductionType;
	}

	public void setStrockDeductionType(Integer strockDeductionType) {
		this.strockDeductionType = strockDeductionType;
	}

	public Float getOriginPrice2() {
		return originPrice2;
	}

	public void setOriginPrice2(Float originPrice2) {
		this.originPrice2 = originPrice2;
	}

	public String getKeywords() {
		return keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	public String getProductStatus() {
		return productStatus;
	}

	public void setProductStatus(String productStatus) {
		this.productStatus = productStatus;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getPutawayTime() {
		return putawayTime;
	}

	public void setPutawayTime(Date putawayTime) {
		this.putawayTime = putawayTime;
	}

	public Date getOutOfStockTime() {
		return outOfStockTime;
	}

	public void setOutOfStockTime(Date outOfStockTime) {
		this.outOfStockTime = outOfStockTime;
	}

	public String getOutofReson() {
		return outofReson;
	}

	public void setOutofReson(String outofReson) {
		this.outofReson = outofReson;
	}

	public Integer getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(Integer operatorId) {
		this.operatorId = operatorId;
	}

	public Integer getIsReject() {
		return isReject;
	}

	public void setIsReject(Integer isReject) {
		this.isReject = isReject;
	}

	public String getDepict() {
		return depict;
	}

	public void setDepict(String depict) {
		this.depict = depict;
	}

	public String getSpecs() {
		return specs;
	}

	public void setSpecs(String specs) {
		this.specs = specs;
	}

	public String getUnitId() {
		return unitId;
	}

	public void setUnitId(String unitId) {
		this.unitId = unitId;
	}

	public String getStorageId() {
		return storageId;
	}

	public void setStorageId(String storageId) {
		this.storageId = storageId;
	}
}